package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.SysContractRefundReport;

/**
 * 挽单报告Service接口
 *
 * @author ruoyi
 * @date 2025-07-01
 */
public interface ISysContractRefundReportService
{
    /**
     * 查询挽单报告
     *
     * @param id 挽单报告主键
     * @return 挽单报告
     */
    public SysContractRefundReport selectSysContractRefundReportById(Long id);

    /**
     * 根据退费合同主键查询挽单
     * @param refundId
     * @return
     */
    public SysContractRefundReport selectSysContractRefundReportByContractRefundId(Long refundId);

    /**
     * 查询挽单报告列表
     *
     * @param sysContractRefundReport 挽单报告
     * @return 挽单报告集合
     */
    public List<SysContractRefundReport> selectSysContractRefundReportList(SysContractRefundReport sysContractRefundReport);

    /**
     * 新增挽单报告
     *
     * @param sysContractRefundReport 挽单报告
     * @return 结果
     */
    public int insertSysContractRefundReport(SysContractRefundReport sysContractRefundReport);

    /**
     * 新增挽单方法
     * @param sysContractRefundReport
     */
    public void emptyInsertSysContractRefundReport(SysContractRefundReport sysContractRefundReport);

    /**
     * 修改挽单报告
     *
     * @param sysContractRefundReport 挽单报告
     * @return 结果
     */
    public int updateSysContractRefundReport(SysContractRefundReport sysContractRefundReport);

    /**
     * 批量删除挽单报告
     *
     * @param ids 需要删除的挽单报告主键集合
     * @return 结果
     */
    public int deleteSysContractRefundReportByIds(Long[] ids);

    /**
     * 删除挽单报告信息
     *
     * @param id 挽单报告主键
     * @return 结果
     */
    public int deleteSysContractRefundReportById(Long id);

    /**
     * 根据退费单合同主键删除挽单
     * @param refundId
     * @return
     */
    public int deleteSysContractRefundReportByRefundId(Long refundId);
}